<template>
  <div class="container">
    <div :class="['gw_title', blockanimationthree == true ? 'gw_titlea' : '']">
      本地红人 畅聊杭城
    </div>
    <div
      :class="['fbt_title', blockanimationthree == true ? 'fbt_titlea' : '']"
    >
      权威专家、本地红人
      <br />带你看杭城大小事 <br />提前关注，精彩内容不再错过
    </div>
    <div
      :class="[
        'componentthree_img',
        blockanimationthree == true ? 'componentthree_imga' : ''
      ]"
    >
      <img src="@/assets/mobileimg/threep.png" alt />
    </div>
  </div>
</template>
<script>
export default {
  name: "componentThree",
  props: {
    blockanimationthree: {
      type: Boolean,
      default: false
    }
  }
};
</script>
<style lang="scss" scoped>
.container {
  background: url("~@/assets/mobileimg/three@2x.png") no-repeat center top;
  background-size:100% 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;  
  margin-top: -1px;
}
.gw_title {
  font-size: 29px;
  font-family: SourceHanSansSC-Bold, SourceHanSansSC;
  font-weight: bold;
  color: #3f5084;
  line-height: 29px;
  padding-top: 90px;
  animation-delay: 5s;
  -webkit-animation-delay: 5s;
  opacity: 0;
}
.gw_titlea {
  animation: gw_titleright 0.5s 0.25s linear forwards;
}
@keyframes gw_titleright {
  from {
    opacity: 0;
    transform: translate3d(-375px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0px, 0, 0);
  }
}
@-webkit-keyframes gw_titleright {
  from {
    opacity: 0;
    transform: translate3d(-375px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0px, 0, 0);
  }
}
.fbt_title {
  font-size: 18px;
  font-family: SourceHanSansSC-Regular, SourceHanSansSC;
  font-weight: 400;
  color: #3f5084;
  line-height: 27px;
  padding: 15px 0 37px 0;
  animation-delay: 5s;
  -webkit-animation-delay: 5s;
  opacity: 0;
}
.fbt_titlea {
  animation: fbt_titleright 0.5s 0.25s linear forwards;
}
@keyframes fbt_titleright {
  from {
    opacity: 0;
    transform: translate3d(-375px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0px, 0, 0);
  }
}
@-webkit-keyframes fbt_titleright {
  from {
    opacity: 0;
    transform: translate3d(-375px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0px, 0, 0);
  }
}
.componentthree_img {
  padding-bottom: 89.5px;
  animation-delay:5s;
  -webkit-animation-delay:5s;
  opacity:0;
  img {
    width: 100%;
    height: 100%;
  }
}
.componentthree_imga {
  animation: componentthree_img 0.5s 0.25s linear forwards;
}
@keyframes componentthree_img {
  from {
    opacity: 0;
    transform: translate3d(375px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0px, 0, 0);
  }
}
@-webkit-keyframes componentthree_img {
  from {
    opacity: 0;
    transform: translate3d(375px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0px, 0, 0);
  }
}
</style>
